import request from '@/utils/request'

// 仓库列表
export function listWarehouse(data) {
  return request({
    url: '/listWarehouse',
    method: 'post',
    data
  })
}

// 新增
export function createWarehouse(data) {
  return request({
    url: '/createWarehouse',
    method: 'post',
    data
  })
}

// 仓库列表编辑
export function updateWarehouse(data) {
  return request({
    url: '/updateWarehouse',
    method: 'post',
    data
  })
}

// 仓库删除
export function delWarehouse(data) {
  return request({
    url: '/delWarehouse',
    method: 'post',
    data
  })
}
